PAlignment(eAlign cKind);
The cKind parameter should be one of the following:Specifying default alignment. If no text is selected or the pointer tool is active, this command specifies the default alignment setting.
kAlignmentLeft (these are defined in PKeywords.h)
kAlignmentCenter
kAlignmentRight
kAlignmentJustify
kAlignmentForce
Example. Check the alignment with a PGetAlignment query, then set right-alignment for any selected paragraphs or the next text entered in the publication.
PGetAlignment currAlign;
if (currAlign != kAlignmentRight) PAlignment(kAlignmentRight);
Comments or suggestions? Contact Adobe Developer Support